package com.mybatis.plugin.test.model;

import java.io.Serializable;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.Table;


@Table(name="tms_package_outbound_detail")
public class TmsPackageOutboundDetail implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(unique=true)
	private String id;

	@Column(name="amount",nullable=false)
	private int amount;

	@Column(name="brand_id", length=50)
	private String brandId;

	@Column(name="create_time")
	private Timestamp createTime;

	@Column(name="grade",nullable=false, length=20)
	private String grade;

	@Column(name="name", length=2000)
	private String name;

	@Column(name="po_no", length=2000)
	private String poNo;

	@Column(name="size_sn", length=100)
	private String sizeSn;

	@Column(name="source_id", length=50)
	private String sourceId;

	@Column(name="status",nullable=false, length=2)
	private String status;

	@Column(name="type",nullable=false, length=50)
	private String type;

	@Column(name="vendor_code", length=50)
	private String vendorCode;
	
	@JoinColumn(name="id")
	@Column(name="header_id")
	private String headerId;

	public TmsPackageOutboundDetail() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public int getAmount() {
		return this.amount;
	}

	public void setAmount(int amount) {
		this.amount = amount;
	}

	public String getBrandId() {
		return this.brandId;
	}

	public void setBrandId(String brandId) {
		this.brandId = brandId;
	}

	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public String getGrade() {
		return this.grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPoNo() {
		return this.poNo;
	}

	public void setPoNo(String poNo) {
		this.poNo = poNo;
	}

	public String getSizeSn() {
		return this.sizeSn;
	}

	public void setSizeSn(String sizeSn) {
		this.sizeSn = sizeSn;
	}

	public String getSourceId() {
		return this.sourceId;
	}

	public void setSourceId(String sourceId) {
		this.sourceId = sourceId;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getVendorCode() {
		return this.vendorCode;
	}

	public void setVendorCode(String vendorCode) {
		this.vendorCode = vendorCode;
	}

	public String getHeaderId() {
		return headerId;
	}

	public void setHeaderId(String headerId) {
		this.headerId = headerId;
	}
}